package com.lagou.service.impl;

import com.lagou.dao.articleDao;
import com.lagou.domain.Article;
import com.lagou.service.articleService;
import org.springframework.beans.factory.annotation.Autowired;

public class articleServiceImpl implements articleService {
    //注入dao
    @Autowired
    private articleDao articleDao;
    //改写add方法
    public void addArticleService(Article article) {
        articleDao.addArticle(article);
    }
}
